package edu.zqu.collegeField.project.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigInteger;
import java.util.Date;

/**
 * @author 廖森
 * @Date 2020/7/7/007.
 */
@Data
@Accessors(chain = true)
public class FieldApplicationDto {
    private BigInteger id;//主id

    private BigInteger collegeId;//学校id

    private BigInteger fieldId;//场地id

    private String fieldName;//场地名称

    private String fieldEnglishName;//场地英文名

    private BigInteger fieldTypeId;//场地类型id

    private String fieldTypeName;//场地类型名称

    private String fieldTypeEnglishName;//场地类型英文名称

    private Integer statusId;//场地用途字典id

    private String statusName;//场地用途字典名称

    private String statusEnglishName;//场地用途字典英文名称

    private BigInteger applicantId;//申请人id

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginTime; //开始时间

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;//结束时间

    private String detail;//详情

    private String telephone;//联系电话

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; //创建时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;//更新时间

    private BigInteger byWho;//操作者id
}
